package net.xdclass.common.message;

import org.springframework.amqp.rabbit.core.RabbitTemplate;

/**
 * mq消息发送者
 */
public interface MessageProducer extends RabbitTemplate.ConfirmCallback,RabbitTemplate.ReturnCallback {

    /**
     * 发送消息
     * @param messageInfo
     */
    void sendMsg(MessageInfo messageInfo);
}
